import java.util.List;

public class Memento {
    public String getNameState() {
        return nameState;
    }

    private String nameState;

    public int getNoState() {
        return noState;
    }
    private int noState;
    private int no1State;
    Memento(){}
    public int getNo1State() {
        return no1State;
    }
    Memento(Originator originator){
        this.nameState = originator.getCurrentName();
        this.noState = originator.getCurrentNo();
        this.no1State=originator.getCno1();
    }


}
